* Table A14: Descriptives for Waterpipe Survey
use "$data/waterpipe_touse.dta", clear
*** United States (2016 American Community Survey)
/* Age: 18-29: 30%
Age: 30-44: 25%
Age: 45-64: 25%
Age: 65+: 20%
Education: Less than HS: 12%
Education: HS 28%
Education: Some College: 31%
Education: BA or higher: 29%
Gender: Male 48%
Gender: Female 52%
*/

* Education:
g educ=1 if less_than_hs==1
replace educ=2 if hs==1
replace educ=3 if some_college==1
replace educ=4 if ba_or_more==1
lab def educ 1 "Less than HS" 2 "HS" 3 "Some college" 4 "BA or more" 
lab val educ educ
di "Table A13: Long-Term Public Policy Survey Sociodemographics"

tab agegroups 
tab agegroups [aweight=weight] 

tab educ 
tab educ [aweight=weight] 

tab female 
tab female [aweight=weight]
